package com.patterns.design.security.web.struts.sample3.form;

import com.patterns.design.security.web.struts.common.BaseForm;

/**
 * Sample where the type of each file guide the security
 * Is not a good approach except to show how it works in theory.  
 *  
 */
public class SampleForm extends BaseForm{

	public Integer mySampleInt;
	public String mySampleDate;
	public boolean mySampleFlag;
	public String myPersonalEmail;
	public String mySampleString;
	public String myDynamicFragmentHtml;
	public String mySampleCode;
	
	public String getMySampleInt() {
		return mySampleInt.toString();
	}
	public void setMySampleInt(Integer mySampleInt) {
		this.mySampleInt = mySampleInt;
	}
	public String getMySampleDate() {
		return mySampleDate;
	}
	public void setMySampleDate(String mySampleDate) {
		this.mySampleDate = mySampleDate;
	}
	public boolean isMySampleFlag() {
		return mySampleFlag;
	}
	public void setMySampleFlag(boolean mySampleFlag) {
		this.mySampleFlag = mySampleFlag;
	}
	public String getMyPersonalEmail() {
		return myPersonalEmail;
	}
	public void setMyPersonalEmail(String myPersonalEmail) {
		this.myPersonalEmail = myPersonalEmail;
	}
	public String getMySampleString() {
		return mySampleString;
	}
	public void setMySampleString(String mySampleString) {
		this.mySampleString = mySampleString;
	}
	public String getMyDynamicFragmentHtml() {
		return myDynamicFragmentHtml;
	}
	public void setMyDynamicFragmentHtml(String myDynamicFragmentHtml) {
		this.myDynamicFragmentHtml = myDynamicFragmentHtml;
	}
	public String getMySampleCode() {
		return mySampleCode;
	}
	public void setMySampleCode(String mySampleCode) {
		this.mySampleCode = mySampleCode;
	}}
